from django.urls import path
from .views import *

urlpatterns = [
    path('addcate/',CateView.as_view()),
    path('showcate/<pid>',CateView.as_view()),
    path('upcate/<cid>',CateView.as_view()),
    path('delcate/<cid>',CateView.as_view()),

    path('addbooks/',BoodsView.as_view()),
    path('showbooks/<cid>',BoodsView.as_view()),
    path('upbooks/<bid>',BoodsView.as_view()),
    path('delbooks/<bid>',BoodsView.as_view()),

]
